package com.qili.service.supplier.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supplier.ProjectPlace;
import com.qili.entity.supplier.SupplierProjectAccept;
import com.qili.entity.supplier.SupplierProjectChange;
import com.qili.entity.supplier.dto.SupplierProjectAcceptDTO;
import com.qili.mapper.supplier.SupplierProjectAcceptMapper;
import com.qili.mapper.supplier.SupplierProjectMapper;
import com.qili.service.supplier.ProjectPlaceService;
import com.qili.service.supplier.SupplierProjectAcceptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2021/3/30
 * @description
 */
@Service
public class SupplierProjectAcceptServiceImpl    extends BaseServiceImpl<SupplierProjectAccept,String> implements SupplierProjectAcceptService {

    @Autowired
    private SupplierProjectAcceptMapper supplierProjectAcceptMapper;

    @Override
    public BaseMapper<SupplierProjectAccept, String> getMappser() {
        return supplierProjectAcceptMapper;
    }

    @Autowired
    public  List<SupplierProjectAcceptDTO> selectListByScore(SupplierProjectAcceptDTO dto){
        List<SupplierProjectAcceptDTO> supplierProjectAcceptDTOS = supplierProjectAcceptMapper.selectListByScore(dto);
        return supplierProjectAcceptDTOS;
    }

    @Autowired
    public  List<SupplierProjectAcceptDTO> selectAcceptByScore(SupplierProjectAcceptDTO dto){
        List<SupplierProjectAcceptDTO> supplierProjectAcceptDTOS = supplierProjectAcceptMapper.selectAcceptByScore(dto);
        return  supplierProjectAcceptDTOS;

    }

    @Autowired
    public List<SupplierProjectAcceptDTO>   selectListAcept(SupplierProjectAcceptDTO dto){
        List<SupplierProjectAcceptDTO> supplierProjectAcceptDTOS = supplierProjectAcceptMapper.selectListAcept(dto);
        return  supplierProjectAcceptDTOS;


    }
}
